<!DOCTYPE html> 
<html>
<head>
	<title>Grid Resize Test</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
	<link rel='stylesheet' href="support/common.css" />
	<style type="text/css">
		.mainPane, #grid, #hslider {
			width: 1000px;
		}
		.mainPane, #grid, #vslider {
			height: 400px;
		}
		.resizePane {
			margin: 0 0 0 40px;
		}
		.mainPane {
			vertical-align: top;
		}
		#hslider {
			margin-top: 10px;
		}
		#vslider {
			margin-right: 10px;
		}
	</style>

	<script type="text/javascript" src="../../dojo/dojo.js" 
		data-dojo-config="async: true, isDebug: true, parseOnLoad: true,  packages:[{name: 'gridx', location:'../gridx'}]"></script>
	<script type="text/javascript" src='support/common.js'></script>
	<script type="text/javascript" src='test_grid_resize.js'></script>
</head>
<body class='claro'>
	<h1>Grid Resize: Width <span id="widthLabel">1000</span>px, Height <span id="heightLabel">600</span>px.</h1>
	<table class='resizePane' border='0' cellpadding='0' cellspacing='0'>
		<tr>
			<td >
				<div id="vslider" data-dojo-type="dijit.form.VerticalSlider" data-dojo-props='
					value:400,
					minimum:0,
					maximum:400,
					pageIncrement:50,
					showButtons:true,
					intermediateChanges:true,
					slideDuration:500,
					onChange: onVSliderChange
				'>
					<div data-dojo-type="dijit.form.VerticalRuleLabels" data-dojo-props='
						container:"leftDecoration", count:11, maximum:400, style:{width:"30px"}, constraints:{pattern:"#px"}'></div>
					<div data-dojo-type="dijit.form.VerticalRule" data-dojo-props='
						container:"rightDecoration", count:11, style:{width:"5px"}'></div>
				</div>
			</td>
			<td class='mainPane'>
				<div id="gridContainer"></div>
			</td>
		</tr>
		<tr>
			<td></td>
			<td>
				<div id="hslider" data-dojo-type="dijit.form.HorizontalSlider" data-dojo-props='
					value:1000,
					minimum:0,
					maximum:1000,
					pageIncrement:100,
					showButtons:true,
					intermediateChanges:true,
					slideDuration:500,
					onChange: onHSliderChange
				'>
					<div data-dojo-type="dijit.form.HorizontalRule" data-dojo-props='
						container:"topDecoration", count:11, style:{height:"5px"}'></div>
					<div data-dojo-type="dijit.form.HorizontalRuleLabels" data-dojo-props='
						container:"bottomDecoration", count:11, maximum:1000, constraints:{pattern:"#px"}'></div>
				</div>
			</td>
		</tr>
	</table>
</body>
</html>

